Inline function
- 网络内联函数
-
In this case , you used an anonymous inline function , also known as a closure .
在这个案例中您使用一个匿名内联函数,也称为一个闭包。
-
This call actually compiles to an inline function .
这个调用实际上编译成一个内联函数。
-
The inline function can be overused in class definitions , of course .
当然,内联函数也许会在类定义里被多次使用。
-
The UML to C + + transformation provides two options for generating code for an inline function .
UML到C++的转换为生成一个内联函数的代码生成提供了两个选项。
-
The default option generates code for the inline function in both the header and body files .
默认的选项是在头文件和实体文件中都为内联函数生成代码。
-
For handling that kind of wrapper , an inline function within your shell might be a better bet .
对于处理此类包装,外壳中的内联函数可能更为适合。
-
In the process of programming , plenty of senior characteristics such as templates and inline function are used to improve the efficiency of the program .
在程序设计中,大量使用了C++程序设计的特性,诸如模板以及内联函数等,极大的提高了程序运行的效率。
-
Instead , hot call sites are more likely to be inlined to keep the code size small while still getting inline function benefits .
相反,热调用点(hotcallsite)更可能被内联,以使代码尽量短小,同时仍获得内联函数的优点。
-
For example , to create an inline function such as inline int inlineop ( int x ), perform these steps
举例来说,要创建一个虚函数:inlineintinlineop(intx),请您执行下述步骤
-
Furthermore , it 's somewhat difficult to detect , depending on where you place your patches and whether or not you use inline function hooks .
此外,它相对地难以探测,这取决于你把补丁放在哪里以及你是否使用嵌入函数挂钩。
-
Here you create a closure , just like you would do in JavaScript , to create an anonymous inline function that will be invoked when the COMPLETE event is fired by the loader .
这里创建一个闭包,如同在JavaScript中一样,创建一个匿名内联函数,将在COMPLETE事件被加载程序触发后调用。
-
This paper analyses the difference between inline function and function , the difference between inline function and macro , and the limit to the use of inline function and macro . Moreover , this paper illuminates how to use inline function in class .
本文分析了内联函数和函数区别,内联函数与宏的区别,以及内联函数和宏使用时的限制,并且阐述了内联函数在类中如何使用。
-
However , an inline shell function is perfect .
然而,内联外壳函数正好适合这种情况。
-
Although you can make an inline shell function as long you like , there are many occasions when the shell function is less than ideal .
虽然可以随心所欲地使内联外壳函数变得任意长,但在许多情况下,外壳函数并不理想。
-
Always_inline tells GCC to inline the specified function regardless of whether optimization is enabled .
alwaysinline让GCC以内联方式处理指定的函数,无论是否启用了优化。
-
Unlike XAML , you have the option of either passing in a function or defining the converter inline as an anonymous function .
和XAML不同的是,既可以把一个函数作为参数传入,也可以通过一个内联的匿名函数来定义转换器。